Skip to content

ext/zip: add ZipArchive::openBuffer method #14078

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shyim
Copy link

@shyim shyim commented Apr 29, 2024

Allow opening read-only zips by string.

An example use-case would be to download a zip file and without saving it to disk, to open it and get one file out of it.

See also #11594

It's my first PR, I run the test with also Valgrind. Did I miss something 🤔?

@michaljusiega
Copy link

Hi php-team! It's possible to push this new feature into PHP-8.4 ?

Thanks for reply!

@shyim shyim requested a review from kocsismate June 22, 2024 06:46
@shyim shyim force-pushed the add-ziparchive-openbuffer branch from ccd3914 to db22fee Compare July 30, 2025 14:06
@shyim shyim force-pushed the add-ziparchive-openbuffer branch from db22fee to 87f690a Compare July 30, 2025 14:06
@shyim shyim requested a review from kocsismate July 30, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants